<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>Layui后台管理系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/layui/css/layui.css">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/show.css">
</head>

<body>
<!-- 导航栏 -->
<div class="layui-header">
    <div class="nav">
        <div class="right">
            <ul class="layui-nav" lay-filter="">
                <!-- 移动端显示 -->
                <li class="layui-nav-item layui-show-xs-inline-block layui-hide-sm"></li>
                <li class="layui-nav-item layui-this"><a href="#">首页</a></li>
                <li class="layui-nav-item"><a href="">分类</a></li>
                <li class="layui-nav-item"><a href="">标签</a></li>
                <li class="layui-nav-item"><a href="">归档</a></li>
                <li class="layui-nav-item"><a href="">关于我</a></li>
            </ul>
        </div>


        <ul class="layui-nav layui-layout-right">
            <li class="layui-nav-item layui-hide layui-show-md-inline-block">
                <a href="javascript:;">
                    <img src="//tva1.sinaimg.cn/crop.0.0.118.118.180/5db11ff4gw1e77d3nqrv8j203b03cweg.jpg"
                         class="layui-nav-img">
                    tester
                </a>
                <dl class="layui-nav-child">
                    <dd><a href="">登录</a></dd>
                    <dd><a href="${pageContext.request.contextPath}/static/front/login.jsp">个人信息</a></dd>
                    <dd><a href="">设置</a></dd>
                    <dd><a href="">登出</a></dd>
                </dl>
            </li>
            <li class="layui-nav-item" lay-header-event="menuRight" lay-unselect>
                <a href="javascript:;">
                    <i class="layui-icon layui-icon-more-vertical"></i>
                </a>
            </li>
        </ul>
    </div>
</div>

<!-- 内容 -->
<div class="layui-container">
    <!-- 留白 -->
    <div class="layui-edge-top" style="height: 20px; border: black;"> </div>

    <!--  -->
    <div class="layui-row">
        <div class="layui-col-lg12 layui-col-sm12"
             style="background-color: rgba(14, 214, 204, 0.37); height: auto;">
            <!-- 主要内容 -->
            <div class="layui-row layui-col-space10">
                <div class="layui-col-sm9 layui-col-lg9" style="height: 700px;">
                    <!-- 上左侧卡片 -->
                    <div class="layui-card" style="height: 600px;">
                        <div class="layui-card-header">卡片面板</div>
                        <div class="layui-card-body">
                            左侧
                            卡片式面板面板通常用于非白色背景色的主体内
                            从而映衬出边框投影
                        </div>
                    </div>
                </div>
                <!-- 日历 -->
                <div class="layui-col-sm3 layui-col-lg3" style="height: 300px;">
                    <div id="date"></div>
                </div>
            </div>

        </div>
    </div>

    <div style="height: 1000px;"></div>
</div>

<!-- 页尾 -->
<div class="layui-footer">
    <div class="footer" style="height: 100px; background-color: crimson;"></div>
</div>

<!-- 脚本 -->
<script src="${pageContext.request.contextPath}/static/layui/layui.js"></script>
<script>
    //JS
    layui.use(['element', 'layer', 'util', 'laydate'], function () {
        var element = layui.element,
            laydate = layui.laydate,
            layer = layui.layer,
            util = layui.util,
            $ = layui.$;

        //头部事件
        util.event('lay-header-event', {
            menuRight: function () {
                layer.open({
                    type: 1,
                    content: '<div style="padding: 15px;">处理右侧面板的操作</div>',
                    area: ['260px', '100%'],
                    offset: 'rt' //右上角
                    ,
                    anim: 5,
                    shadeClose: true
                });
            }
        });
        //日历
        laydate.render({
            elem: '#date',
            position: 'static',
            value: new Date(),
            calendar: true
        });
    });
</script>
</body>